home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 2.iso / dist / fw_libxml.idb / usr / freeware / include / gnome-xml / HTMLtree.h.z / HTMLtree.h
C/C++ Source or Header  |  2001-04-12  |  800b  |  37 lines

  1. /*
  2.  * tree.h : describes the structures found in an tree resulting
  3.  *          from an XML parsing.
  4.  *
  5.  * See Copyright for the status of this software.
  6.  *
  7.  * Daniel.Veillard@w3.org
  8.  */
  9.  
  10. #ifndef __HTML_TREE_H__
  11. #define __HTML_TREE_H__
  12.  
  13. #include <stdio.h>
  14. #include "tree.h"
  15.  
  16.  
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20.  
  21. #define HTML_TEXT_NODE        XML_TEXT_NODE
  22. #define HTML_ENTITY_REF_NODE    XML_ENTITY_REF_NODE
  23. #define HTML_COMMENT_NODE    XML_COMMENT_NODE
  24.  
  25. void htmlDocDumpMemory(xmlDocPtr cur, xmlChar**mem, int *size);
  26. void htmlDocDump(FILE *f, xmlDocPtr cur);
  27. int htmlSaveFile(const char *filename, xmlDocPtr cur);
  28. void htmlNodeDump(xmlBufferPtr buf, xmlDocPtr doc, xmlNodePtr cur);
  29. void htmlNodeDumpFile(FILE *out, xmlDocPtr doc, xmlNodePtr cur);
  30.  
  31. #ifdef __cplusplus
  32. }
  33. #endif
  34.  
  35. #endif /* __HTML_TREE_H__ */
  36.  
  37.